<template>
  <div>
    <router-link to="/film" tag="span" style="margin-left: -20px;text-align: center;width: 100%"><i class="iconfont iconArrow-Left2" style="float: left;margin-left: 5px"></i>{{title}}</router-link>
  </div>
</template>

<script>
export default {
name: "DetailHeader",
  props: [
      'title'
  ]
}
</script>

<style scoped lang="scss">
  div {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: white;
    opacity: 1; //设置不透明度
  }
</style>